home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / muds / mordor_2.000 / mordor_2 / docs / crt_talk < prev    next >
Text File  |  1994-09-13  |  3KB  |  73 lines

  1. Interactive talk
  2.  
  3.     Interactive talk allows a monster and a player to interactively
  4. talk.  When a player asks a monster about a "key" question, the monster 
  5. will respond with a specified response.  In addition, a monster can perform
  6. various actions (attack, social command, or cast a spell) whenever asked 
  7. about a key word.  The interactive talk file is located in:
  8. /usr/games/mordor/objmon/talk. 
  9. Generally the name of the file is the name of the monster-level.
  10. The format to use the interactive talk file is:
  11. <key word line> [action phrase]
  12. <response line>
  13.  
  14.     The maximum size of the key word line is 80 characters while the response
  15. line can be up to 1024 characters (including carriage return and null 
  16. character).  Note: a hard return will denote the end of a line, so 
  17. return should only be entered at the end of "key word line" and
  18. the  "response line".  
  19.  
  20.     The <key word> is defined by a single word (no spaces).  The 
  21. parameters for the action phrase are based on the type of the
  22. command.  A monster can perform the following actions:
  23.  
  24. <key word> ATTACK
  25.     The monster will attack the player who asks the monster about the 
  26. given key word.  The word ATTACK must appear in all capitals.
  27.  
  28. <key word> ACTION type PLAYER
  29.     The monster will perform the social action defined by type when the
  30. key word is spoken.  The type parameter can be any of the normal social
  31. commands.  If the social command is followed by the word PLAYER, the 
  32. social action will be performed on the player who spoke the key word.  
  33. Otherwise the social command will be interpreted as general (wave vs 
  34. wave happy).  Note the words ACTION and PLAYER must appear in all capitals.
  35.  
  36. <key word> CAST <spell>
  37.     The monster will cast the given spell on the player who
  38. spoke the key word.  The monster must have sufficient mp, and belong
  39. to the correct class (and know the spell) in order to cast it. 
  40. A monster casting heal must be a cleric/paladin and have 25 mp
  41. to successfully cast the spell.
  42.  
  43. <key word> GIVE <item #>
  44.     The monster will give a specified object to the player who asked the 
  45. key word.  Object may be a quest item, in which case the player will only
  46. be able to receive one of the item.  Also, if a player is weighted down,
  47. and unable to hold the object, the monster will not give the object. 
  48. Be careful with the value of the objects being given away since it might 
  49. provide a loop hole for making money.
  50.  
  51. examples:
  52.  
  53. die ATTACK
  54. response.
  55.     If a player asks a monster about "die", the monster will give
  56. the response and then attack the player.
  57.  
  58. bye ACTION wave
  59. response
  60.     If a player asks a monster about "bye" the monster will give
  61. the response and wave to everyone in the room.
  62.  
  63. bye ACTION wave PLAYER
  64.     If a player asks a monster about "bye" the monster will give
  65. the response and wave to the player who asked about "bye".
  66.  
  67. bless CAST bless
  68.     If a player asks the monster about "bless", the monster will
  69. cast a bless spell on the player, provided the monster knows the
  70. spell and has sufficient mp to do so.
  71.  
  72. ll
  73.